package com.zhou.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * @Description : 城市编码
 * @Author : zyy
 * @Date: 2024/7/17  10:42
 */
@Data
@Slf4j
@Schema(name = "城市编码", description = "城市编码实体类")
public class AdcodeNum {
    @Schema(name = "id", type = "string")
    @ExcelProperty("id")
    @TableId("id")
    private String id;

    @ExcelProperty("城市编码")
    @Schema(name = "城市编码", type = "string")
    @TableField("adcode")
    private String adcode;

    @ExcelProperty("城市名称")
    @Schema(name = "城市名称", type = "string")
    @TableField("city")
    private String city;

    @ExcelProperty("城市号码")
    @Schema(name = "城市号码", type = "string")
    @TableField("city_code")
    private String cityCode;
}
